package com.jason.Errors;

import javax.swing.JOptionPane;

public class ShowErrors {
	
	public void display(Exception e){
		String title="It's a Trap!";
		String message="Stacktrace:\n" + e.toString();
		JOptionPane.showMessageDialog(null, message, title, JOptionPane.ERROR_MESSAGE);
	}

}
